//
//  YZEHtmlViewController.m
//  yilutongxing
//
//  Created by T&J on 2017/5/16.
//  Copyright © 2017年 YZE. All rights reserved.
//

#import "YZEArticleDetailViewController.h"

@interface YZEArticleDetailViewController ()<UIWebViewDelegate>
@property (nonatomic,strong)UIWebView *webV;
@property (nonatomic, copy)NSString *title;
@property (nonatomic, assign)int content_res_type;//内容来源类型，1内容数据，2url加载
@property (nonatomic, copy)NSString *url;//url

@end

@implementation YZEArticleDetailViewController

-(UIWebView *)webV{
    if (!_webV) {
        UIWebView *t_webV = [[UIWebView alloc]initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT)];
        t_webV.delegate = self;
        t_webV.backgroundColor = [UIColor whiteColor];
        [self.view addSubview:t_webV];
        self.webV = t_webV;
    }
    return _webV;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    if(_content_res_type==1){
        
    }
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
